package com.atstudy.dt;

/**
 * @version v1.0
 * @description:
 * @author: admin
 * @date: 2022/12/16 9:55
 * @copyright: 博为峰
 */
public class Worker extends Person {

    @Override
    public void eat() {
        System.out.println("外卖");
    }

    public void work() {
        System.out.println("工作");
    }
}
